import { createApp } from 'vue'
import App from './App.vue'
import './style.css'

// 导入Font Awesome图标库
import { library } from '@fortawesome/fontawesome-svg-core'
import { faUser, faRobot, faPaperPlane } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'

// 添加图标到库中
library.add(faUser, faRobot, faPaperPlane)

const app = createApp(App)

// 注册FontAwesomeIcon组件
app.component('font-awesome-icon', FontAwesomeIcon)

app.mount('#app')